package com.dyh.lvup.byteBuddy;

import net.bytebuddy.ByteBuddy;
import net.bytebuddy.dynamic.DynamicType;

/*
@Author=Joey Wheeler
@Date=2021/3/1 16:27
*/
public class Print {

    /*resources*/
    public static void main(String[] args) {
        DynamicType.Unloaded<?> dynamicType = new ByteBuddy()
                .subclass(Object.class)
                .name("com.dyh.lvup.byteBuddy.HelloWorld")
                .make();

        Utils.output("HelloWorld",dynamicType.getBytes());
    }
}
